From: Florian Müllner Date: Mon, 23 Feb 2015 12:02:08 +0000 (+0100) Subject: main: Close calendar on activateWindow() X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1528 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=4253df646390c18845f2cc31d4d7a7be60fd111a;p=gnome-shell.git main: Close calendar on activateWindow() If activateWindow() is called as the result of activating an item in the Time & Date drop-down (most likely a notification), it should behave as other items and close the calendar. --- diff --git a/js/ui/main.js b/js/ui/main.js index 2a80a9056..8844dc6a6 100644 --- a/js/ui/main.js +++ b/js/ui/main.js @@ -529,6 +529,7 @@ function activateWindow(window, time, workspaceNum) { } overview.hide(); + panel.closeCalendar(); } // TODO - replace this timeout with some system to guess when the user might